package ee.karileet.productcatalogue.dao;
import ee.karileet.productcatalogue.model.Group;

/**
 * @author Markus Karileet
 * @version 1.0
 * @created 29-nov-2013 16:09:21
 */
public interface IGroupHome {

	/**
	 * 
	 * @param group    group
	 */
	public void attachClean(Group group);

	/**
	 * 
	 * @param group    group
	 */
	public void attachDirty(Group group);

	/**
	 * 
	 * @param group    group
	 */
	public void delete(Group group);

	/**
	 * 
	 * @param expressions    expressions
	 */
	public java.util.List<Group> find(java.util.List<org.hibernate.criterion.SimpleExpression> expressions);

	public java.util.List<Group> findAll();

	/**
	 * 
	 * @param group    group
	 */
	public java.util.List<Group> findByExample(Group group);

	/**
	 * 
	 * @param id    id
	 */
	public Group findById(int id);

	/**
	 * 
	 * @param group    group
	 */
	public Group merge(Group group);

	/**
	 * 
	 * @param group    group
	 */
	public void persist(Group group);

	public void save(Group group);

}